Skip to main content

Full text of "Arduino"

See other formats


Parallax Ping))) Theremin 



.1 



Make Projects 



build, hack, tweak, share, discover. 



Parallax Ping))) Theremin 

Written By: Ethan Flubacher 



TOOLS: 



ProtoShield (1) 
USB A to B cabled) 



I <} PARTS: 

Arduino microcontroller (1) 

Wired) 

LCD screen (1) 

10k Pot (1) 

8 Ohm mini speaker (1) 

PING))) Ultrasonic Sensor (1) 

Small Breadboard (1) 

headphone jack (1) 

Resistors. 1kQ (1) 



SUMMARY 



This guide will cover the basic concept of the Ping))) sensor by making a fun project. 



© Make Projects 



www.makeprojects.com 



Page 1 of 3 



Parallax Ping))) Theremin 



Step 1 — Wire LCD backlight/logic circuits 




• Wire backlight according to pins on 
LCD. Same for logic circuits. Pot 
wiper goes to Vo (contrast), one 
outer pin of the pot goes to ground, 
the other to 5v. 



• Make sure polarities are 
correct. 



A 



• Use pot to control contrast 
to your needs. 



Step 2 — Wire the digital pins 




• * LCD RS pin to digital pin 12 * 
LCD Enable pin to digital pin 1 1 * 
LCD D4 pin to digital pin 5 * LCD 
D5 pin to digital pin 4 * LCD D6 pin 
to digital pin 3 * LCD D7 pin to 
digital pin 2 * LCD R/W to ground 

• I used a 1K resistor instead 
of a 1 0K pot. 

• Use the 10K pot to control 
the contrast. 






© Make Projects 



www.makeprojects.com 



Page 2 of 3 



Parallax Ping))) Theremin 



Step 3 — Wire Ping))) and audio 




• Sound is on pin 10 and ping is on 
pin 7. 1kQ resistor on headphone 
ground. 



Step 4 — Upload code 




• Code can be found here . 

• Copy and paste code to Arduino 
IDE and click "Upload". 



This document was last generated on 2012-11-01 10:32:21 AM. 



© Make Projects 



www.makeprojects.com 



Page 3 of 3